Package com.cisco.pt.ipc.sim.pdu.impl
Class FTPDataPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.FTPPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.FTPDataPacketImpl
- All Implemented Interfaces:
IPCData,FTPDataPacket,FTPPacket,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.FTPPacketImpl
typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetDirectoryName(String directoryName) voidsetFileName(String fileName) voidsetFtpData(FileContent ftpData) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.FTPPacketImpl
getType, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
fileName
-
directoryName
-
ftpData
-
-
Constructor Details
-
FTPDataPacketImpl
public FTPDataPacketImpl()
-
-
Method Details
-
getFileName
- Specified by:
getFileNamein interfaceFTPDataPacket- Returns:
- String Returns a String
-
setFileName
- Specified by:
setFileNamein interfaceFTPDataPacket- Parameters:
fileName- Takes in a parameter of fileName
-
getDirectoryName
- Specified by:
getDirectoryNamein interfaceFTPDataPacket- Returns:
- String Returns a String
-
setDirectoryName
- Specified by:
setDirectoryNamein interfaceFTPDataPacket- Parameters:
directoryName- Takes in a parameter of directoryName
-
getFtpData
- Specified by:
getFtpDatain interfaceFTPDataPacket- Returns:
- FileContent Returns a FileContent
-
setFtpData
- Specified by:
setFtpDatain interfaceFTPDataPacket- Parameters:
ftpData- Takes in a parameter of ftpData
-
getFieldType
- Overrides:
getFieldTypein classFTPPacketImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classFTPPacketImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classFTPPacketImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classFTPPacketImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classFTPPacketImpl
-